# encoding: utf-8
# @author: __匸匿
"""
@license: 980980524@qq.com,
@contact: qq:980980524
@file: manage.py
@time: 18-12-31 上午10:13
@desc:
"""
from flask_migrate import Migrate, MigrateCommand
from flask_script import Manager

from flask import Flask, session
from info import create_app,db

app = create_app('development')

manager = Manager(app)


Migrate(app,db)

manager.add_command('db',MigrateCommand)



if __name__ == '__main__':
    manager.run()
